<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sort')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sort" data-rule="required" class="form-control" name="row[sort]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['1'=>'开启', '2'=>'关闭'],'1')}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启业务期限')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_time_limit]', ['1'=>'开启','2'=>'关闭'],'1')}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启上传凭证')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_image]', ['1'=>'开启','2'=>'关闭'],'1')}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启客户姓名')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_user_name]', ['1'=>'开启','2'=>'关闭'],'1')}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启客户电话')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_user_phone]', ['1'=>'开启','2'=>'关闭'],'1')}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启业务金额')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_user_money]', ['1'=>'开启','2'=>'关闭'],'1')}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启柜员号')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_gyh]', ['1'=>'开启','2'=>'关闭'],'1')}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启备注')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_remark]', ['1'=>'开启','2'=>'关闭'],'1')}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启缴费时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_pay_date]', ['1'=>'开启','2'=>'关闭'],'1')}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启房号')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_room_no]', ['1'=>'开启','2'=>'关闭'],'1')}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
